package cn.peach.org.domain;

import cn.peach.basic.domain.BaseDomain;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
public class Department extends BaseDomain {
    private String sn;
    private String name;
    private String dirPath;
    private Integer state;
    private Long manager_id;
    // 对象传值
    private Employee manager;
    private Long parent_id;
    // 对象传值
    private Department parent;
    private List<Department> children = new ArrayList<>();
    private Employee logininfo;
    private Employee shop;
}
